package com.eastedu.client.encrypt;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * The interface File hls encrypt client.
 *
 * @author 袁松明
 */
@FeignClient(name = "infrastructure-file-hls-decrypt-service", path = "/")
public interface FileHlsEncryptClient {
    /**
     * 加密文件
     *
     * @param fileId the file id
     */
    @PostMapping(value = "/api/file-encrypts/{fileId}:mq_retry?version=1.0")
    void retryMqFileEncrypt(@PathVariable Long fileId);
}
